package com.tulele.vtool.mapper;

import com.tulele.vtool.model.VipPriceInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "vipPriceInfoMapper")
public interface VipPriceInfoMapper {

    /**
     * 查询VIP价格信息
     * @return
     */
    List<VipPriceInfo> queryVipPriceInfo(@Param("springProfilesActive")String springProfilesActive);

    /**
     * 根据VIP的ID查询VIP价格信息
     * @param vipId
     * @return
     */
    VipPriceInfo queryVipPriceInfoByVipId(Integer vipId);
}